import request from '@/utils/request'

// 查询银行名单列表
export function listDealBankList(query) {
  return request({
    url: '/dealBank/dealBankList/list',
    method: 'get',
    params: query
  })
}

// 查询银行名单详细
export function getDealBankList(id) {
  return request({
    url: '/dealBank/dealBankList/' + id,
    method: 'get'
  })
}

// 保存银行名单
export function saveDealBankList(data) {
  return request({
    url: '/dealBank/dealBankList/save',
    method: 'post',
    data: data
  })
}

// 删除银行名单
export function delDealBankList(id) {
  return request({
    url: '/dealBank/dealBankList/' + id,
    method: 'delete'
  })
}

// 导出银行名单
export function exportDealBankList(query) {
  return request({
    url: '/dealBank/dealBankList/export',
    method: 'get',
    params: query
  })
}
